﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="allquestion.aspx.cs" Inherits="Manage_allquestion" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=ExamSys.ExamSysName%>  <%=ExamSys.ExamSysDesc%></title>
    <link type='text/css' href='../css/style.css' rel='stylesheet' media='screen' />
    <link type='text/css' href='../css/basic.css' rel='stylesheet' media='screen' />
    <!-- IE6 "fix" for the close png image -->
    <!--[if lt IE 7]>
    <link type='text/css' href='../css/basic_ie.css' rel='stylesheet' media='screen' />
    <![endif]-->
    <style>
    td{vertical-align:top;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
<table border="0" class="grid"  cellspacing="0" cellpadding="0" width="100%">
<thead>
    <tr>
        <th align=left>当前：<asp:Label ID="cname" runat="server" Text="Label"></asp:Label> 试题列表</th>
    </tr>
</thead>
<tr>
    <td align=left>
    
    <br />
        
    </td>
</tr>
<tr>
<td>
    
    <table id="dg" class="grid" cellspacing="0" cellpadding="0" width="100%">
        <thead>
            <tr>
                <th width=6%>选择</th>
                <th width=7%>题型</th>
                <th width=6%>难度</th>
                <th>
                题干
                
                </th>
                <th width=10%>答案</th>
                <th width=10%>编辑</th>
            </tr>
        </thead>
        
        <tbody>
        <asp:Repeater ID="rp" runat="server"  onitemdatabound="rp_ItemDataBound">
        <ItemTemplate>
            <tr id="trq<%# Eval("QuestionId")%>">
                <td><input id='chk<%# Eval("QuestionId")%>' name="chk" value='<%# Eval("QuestionId")%>' type="checkbox" /></td>
                <td><%# getQType(Eval("QuestiontypeId").ToString().Trim())%></td>
                <td><%# getQDiff(Eval("DifficultyId").ToString().Trim())%></td>
                <td>
                <%# Server.HtmlDecode(Eval("QuestionContent").ToString())%>
                <div><asp:Literal ID="litipts" runat="server"></asp:Literal></div>
                </td>
                <td><%# getAnswer(Eval("QuestionAnswer").ToString().ToUpper().Trim())%></td>
                <td></td>
            </tr>
        </ItemTemplate>
        </asp:Repeater>
        </tbody>
        
    	<tfoot>
    	    <tr>
    	        <td colspan=6></td>
    	    </tr>
    	</tfoot>
    </table>

</td>
</tr>
</table>

<div class="btncontainer">
    查询:
        <asp:DropDownList ID="QType" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="QDifficulty" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="QKnowledge" runat="server"></asp:DropDownList>
        <asp:TextBox ID="keywordTb" runat="server" Text="" ></asp:TextBox>
        <asp:Button ID="btnSearch" CssClass="btnsearch" runat="server" Text="查询" onclick="btnSearch_Click" />

<br />
</div>





<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
    <table class="grid" border="0" cellspacing="0" cellpadding="0" width="100%">
        <thead>
            <tr>
                <th>统计</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <asp:Label ID="LabTj" runat="server" Text="Label"></asp:Label></td>
            </tr>
        </tbody>
    	<tfoot>
    	    <tr>
    	        <th></th>
    	    </tr>
    	</tfoot>
    </table>
</td>
</tr>
</table>
    </form>
</body>
</html>
